package com.classichu.archdemo.data;

public class DataRepository {
    //单例
    //关联 获取数据
    private final IDateSouce mRemoteDataSource;

    private final IDateSouce mLocalDataSource;

    public DataRepository(IDateSouce mRemoteDataSource, IDateSouce mLocalDataSource) {
        this.mRemoteDataSource = mRemoteDataSource;
        this.mLocalDataSource = mLocalDataSource;
    }

/*    public DataRepository() {
        mRemoteDataSource = null;
        mLocalDataSource = null;
    }
*/
}
